package com.spsoft.vatoutinv.mapper;

import com.spsoft.vatoutinv.entity.vmscreditlimit.VmsCreditLimit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 授信额度信息表 Mapper 接口
 * </p>
 *
 * @author wangy
 * @since 2023-11-24
 */
public interface VmsCreditLimitMapper extends BaseMapper<VmsCreditLimit> {


    @Select("SELECT SEQ_VMS_CREDIT_LIMIT.NEXTVAL FROM DUAL")
    Long getNextSequenceValue();


    VmsCreditLimit getSxedByDeptCode(@Param("deptCode") String deptCode, @Param("nowTime") String nowTime);
}
